package com.zdlt.admin.api.mapper;

import com.zdlt.admin.api.domain.SystemUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SystemUserMapper {
    SystemUser get(@Param("id") Long id);

    List<SystemUser> page(@Param("pageIndex") int pageIndex, @Param("pageSize") int pageSize);

    int cont();

    int update(@Param("id") Long id, @Param("user") SystemUser user);
}
